package com.itelite.domain.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author 沈洋 邮箱:1845973183@qq.com
 * @create 2021/8/8-18:12
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Teacher implements Serializable {
    @NotNull(message = "工号不能为空")
    private Integer teacherId;
    @NotNull(message = "老师姓名不能为空")
    private String teacherName;
    private String mobile;
    private String qq;
}
